package ie.lawlor.amvc.example.explorer.orinoco;

import ie.lawlor.amvc.event.Event;
import ie.lawlor.amvc.patterns.main.LoginResult;
import ie.lawlor.amvc.patterns.main.MainModel;



/**
 * @author blawlor
 *
 */
public class OrinocoModel extends MainModel {

    /**
     * 
     */
    public OrinocoModel(String name) {
        super(name);
    }

    /**
     * @param threadingEnabled
     */
    public OrinocoModel(String name, boolean threadingEnabled) {
        super(name, threadingEnabled);
    }
    
    public void doLogInIsSuccessful(Event event){
        LoginResult result = (LoginResult)event.getPayload();
        fireShowView();
    }

}
